<?php
$root = "http://".$_SERVER['HTTP_HOST'];
$root .= str_replace("/".basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);
echo '<a href="" tabindex="-1" id="refreshimg" onclick="refreshimg(); return false;" title="Click to refresh image"><img src="'.$root.'/image.php?' . time() . '" alt="Captcha image" width="132" height="46" align="left" /></a>';
?>